{include adm_header.tpl}

<div class="nav">版块设置</div>
<div class="login">
	<a href="index.php?admin.htm">后台首页</a>/<a href="index.php">首页</a>/<a href="index.php?user-zone.htm">空间</a>
</div>
{if $edit_msg != ''}<div class="t">{$edit_msg}</div>{/if}
<div class="f">
	{foreach $forumlist as $varr}
	<form action="index.php?admin-forumset-sudo-edit-id-{$varr['id']}.htm" method="post" name="forum{$varr['id']}">
		<p>{$varr['id']}.<input type="text" name="name" value="{$varr['name']}"/></p>
		<p>版主uid(多个以,号分隔):<br/>
		<input type="text" name="master" value="{$varr['master']}"/></p>
		<p><select name="display">
			<option value="0" {if $varr['display']==0}selected="selected"{/if}>展示</option>
			<option value="1" {if $varr['display']==1}selected="selected"{/if}>隐藏</option>
			</select><input type="submit" value="修改" name="sub"/>
			<!-- 
			- <a href="index.php?admin-forumset-sudo-del-id-{$varr['id']}.htm">删除</a></p>-->
	</form><hr/>
	{/foreach}
	<form action="index.php?admin-forumset-sudo-add.htm" method="post" name="new">
		<p><input type="text" name="name" value=""/></p>
		<p><select name="display">
			<option value="0">展示</option>
			<option value="1">隐藏</option>
			</select><input type="submit" value="添加" name="sub"/></p>
	</form>
</div>
<div class="sub"></div>
{include adm_footer.tpl}